<?
#///////////////////////////////////////////////////////
#//  COPYRIGHT 2004 Phpauction.org ALL RIGHTS RESERVED//
#///////////////////////////////////////////////////////
?>

<div class="content">
    <div class="tableContent2">
        <div class="titTable2">
            <? print $MSG_207; ?>
        </div>
        <?if(!empty($TPL_errmsg)) {?>
        <div CLASS=errfont>
            <?=$TPL_errmsg ?>
        </div>
        <?}?>
        <div class="titTable3">
            <a href="item.php?id=<? echo $_REQUEST['auction_id']; ?>">
                <?=$MSG_138; ?>
                </a> | 
            <a href="profile.php?user_id=<? echo $_GET['id']; ?>">
                <?=$MSG_505; ?>
                </a>
        </div>
        <div class="table2">
            <form name=addfeedback action="feedback.php?id=<? echo $_GET['id']; ?>" method="POST">
                <table width="100%" cellspacing="0" cellpadding="1">
                    <tr>
                        <td>
                            <table width="100%" border="0" cellpadding="4" cellspacing="0">
                                <tr>
                                    <td colspan=2>
                                        <?="$TPL_nick ($TPL_feedbacks_num)"?>
                                        <br />
                                        <?=$TPL_rate_ratio_value?>
                                        <br />
                                        <br />
                                    </td>
                                </tr>
                                <?
                                if(is_array($feed_disp)) {
                                    foreach($feed_disp as $k=>$v) {
                                  ?>
                                <tr bgcolor="<?=(($k%2) ? "#EEEEEE" : "#FFFFFF")?>">
                                    <td valign="top" bgcolor="<?=(($k%2) ? "#EEEEEE" : "#FFFFFF")?>"> <img src="<?=$v['img']?>" align="middle" alt="" /> <b><a href="<?=$v['usflink']?>">
                                        <?=$v['username']?>
                                        (
                                        <?=$v['usfeed']?>
                                        )</a></b>&nbsp;
                                        <?=$v['usicon']?>
                                        <?="(".$MSG_506.$v['feedbackdate']." ".$MSG_25_0177." ".$v['auctionurl'].")"?>
                                        <p>
                                            <?=$v['feedback']?>
                                            <?
                                            if(is_array($v['feedforum'])) {
                                            ?>
                                    </td>
                                    <td>
                                        <table width="100%" cellspacing="1" cellpadding="4">
                                            <?
                                            foreach($v['feedforum'] as $kf=>$vf) {
                                            ?>
                                            <tr bgcolor="<?=(($kf%2) ? "#FFFFFF" : "#EEEEEE")?>">
                                                <td width="30%">
                                                    <?=$vf['username'].$MSG_25_0203.$vf["commentdate"].$MSG_25_0202?>
                                                </td>
                                                <td width="70%">
                                                    <?=$vf['comment']?>
                                                </td>
                                            </tr>
                                            <?
                                            }
                                            ?>
                                        </table>
                                        <?
                                            } else {
                                        ?>
                                    </td>
                                    <td>
                                        <?
                                            }
                                        ?>
                                        <br/>
                                        <?=$v['nextfeedforum']?>
                                    </td>
                                </tr>
                                <?
                                    }
                                }
                                  ?>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td align=center> <? echo stripslashes($echofeed); ?></td>
                    </tr>
                </table>
                <input type="hidden" name="TPL_nick_hidden" value="<? echo $TPL_nick; ?>">
            </form>
        </div>
    </div>
</div>
